package com.lms.model;

import com.lms.annotation.MyAnnotation01;
import com.lms.annotation.MyAnnotation02;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-05-14 08:51
 * @Description: ${Description}
 */
//@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    private String name;
    private Integer age;



    public void print() {
        System.out.println("print method");
    }
    public String test(int... a){
        return "test method";
    }

    private String demo(@MyAnnotation01 @MyAnnotation02 String str,@MyAnnotation01 int age){
        System.out.println(str);
        return "demo method:"+str;
    }

}
